//
//  SCRNEventManager.h
//  Shuaiche
//
//  Created by xiangtao on 2024/2/20.
//  Copyright © 2024 ShuaiChe. All rights reserved.
//

#import <React/RCTEventEmitter.h>
#import <React/RCTBridgeModule.h>

NS_ASSUME_NONNULL_BEGIN

@interface SCRNEventManager : RCTEventEmitter<RCTBridgeModule>

+ (instancetype)shareInstance;

//通用Event
- (void)commonEvent:(NSDictionary *)parameters;

//支付成功
- (void)paySuccess;

//上传成功
- (void)uploadSuccess:(NSDictionary *)parameters;
//IM上传成功
- (void)uploadIMSuccess:(NSDictionary *)parameters;
//取消上传
- (void)uploadCancel;
//登录成功
- (void)loginSuccess:(NSDictionary *)parameters;
//消息选择车辆
- (void)selectCarResultListener:(NSDictionary *)parameters;
//播放结束
- (void)playAudioFinish;
//上传语音成功
- (void)uploadAudioFinish:(NSDictionary *)parameters;
//音频上传失败
- (void)uploadAudioFailed:(NSDictionary *)parameters;
//跳转到web
-(void)outsideWebJump:(NSDictionary *)parameters;
//维保查询
-(void)foursQuery:(NSDictionary *)parameters;

@end

NS_ASSUME_NONNULL_END
